/*
 * @Author: gehao
 * @Date: 2022-06-29 16:24:37
 * @LastEditors: wangzz wangzhuang@outlook.com
 * @LastEditTime: 2023-06-05 14:17:44
 * @Description:
 */
import { createRouter, createWebHistory } from "vue-router";
import main from '../App.vue'
import helloworld from '../pages/HelloWorld.vue'
const routes = [
    {
        path: '/',
        name: 'main',
        component: main,
        redirect: '/minemap',
    },
    {
        path: '/minemap',
        name: 'MineMap',
        key: 'MinMap',
        meta: {
            title: '地图'
        },
        component: () => import('../pages/minemap/index.vue')
    }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router